package com.goods.business.service;

import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.business.ProductCategoryVO;

import java.util.List;
import java.util.Map;

public interface CategoryService {
    //展示分类数据
    Map showCategory(Map pageMap);
    Map showCategory();
    //展示父分类
    List<ProductCategoryTreeNodeVO> showFatherCategory();
    //添加
    void addCategory(Map addForm);
    //编辑弹窗数据回显
    ProductCategoryVO showEdit(Long id);
    //修改
    void update(Long id, ProductCategoryVO productCategoryVO);
    //删除
    void delete(Long id);
}
